package com.dk.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dk.pojo.TCar;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2021-10-29
 */
public interface ITCarService extends IService<TCar> {

    List<TCar> selectList(QueryWrapper wrapper);

    //车名搜索加分页
    List<TCar> getInfoByName(String name, Integer startIndex, Integer pageSize);

    //根据标签查询
    List<TCar> getInfoByTitle(String label);

    //按上架时间查询分页
    List<TCar> getInfoByTime(Integer startIndex, Integer pageSize);
}
